//
//  RCCustomConversationListViewController.m
//  TestAll
//
//  Created by wen on 2020/8/3.
//  Copyright © 2020 ZDHS. All rights reserved.
//

#import "ChatListVC.h"

@interface ChatListVC ()

@end

@implementation ChatListVC

- (void)viewDidLoad {
    [super viewDidLoad];
    
//    NSArray *conversationList = [[RCIMClient sharedRCIMClient] getConversationList:@[@(ConversationType_PRIVATE)] count:100 startTime:0];
    
    NSLog(@"");
}
- (void)onSelectedTableRow:(RCConversationModelType)conversationModelType conversationModel:(RCConversationModel *)model atIndexPath:(NSIndexPath *)indexPath {

    RCConversationViewController *conversationVC = [[RCConversationViewController alloc] initWithConversationType:model.conversationType targetId:model.targetId];
    //会话标题
    conversationVC.title = [NSString stringWithFormat:@"用户%@",model.targetId];
    conversationVC.hidesBottomBarWhenPushed = YES;
    
    [self.navigationController pushViewController:conversationVC animated:YES];
}


@end
